package _11_1;

import java.util.InputMismatchException;
import java.util.Scanner;


public class _2 {
    public static void main(String[] args) {
            Scanner input=new Scanner(System.in);
            a a=new a();
            System.out.println("输入总课时");
            try {
                a.setKeshi(input.nextInt());
            } catch (Exception e) {
                e.printStackTrace();
            }
            System.out.println("输入课");
            a.setJimen(input.nextInt());
            try {
                System.out.println(a.pinjun());
            } catch (Exception e) {
                System.out.println("有错哦");
                e.printStackTrace();
            }

    }
}
